const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
    transpileDependencies: true,
});

//覆盖webpack配置
module.exports = {
    lintOnSave: false,
    devServer: {
        open:true,//自动打开浏览器
        port:8888,
        proxy: {
            "/api": {
                target: "http://localhost:8080/",
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }
            },
        },
    },
};